package cn.com.twoke.application.game.mario.game.util;

import cn.com.twoke.application.game.mario.core.ecs.entity.NextId;
import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.StrUtil;

public class NextIdUtils {

    public static String getNextId(NextId nextId) {
        return StrUtil.format("{}_{}", nextId.getIdPrefix(), IdUtil.fastUUID());
    }

}
